Add i386 to cpp_undefs in configure.in to fix i386 multiarch builds.
authorRob Browning <rlb@defaultvalue.org>
Sun, 17 Apr 2011 17:26:59 +0000 (12:26 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 17 Apr 2011 17:26:59 +0000 (12:26 -0500)
Multiarch builds should now work on i386.

Multiarch builds failed on i386 because the toolchain triplet does not
match the multiarch directory (i686 != i386).

Author: Rob Browning <rlb@defaultvalue.org>
Date: Mon, 31 Jan 2011 01:13:35 +0100
Applied-By: Rob Browning <rlb@defaultvalue.org>
Forwarded: bug-gnu-emacs@gnu.org
Closes: #620795
configure.in

index 063971598f0f96b42e664f7cdc9b7f8535b10f20..94efa35b3973b63112405a31ea7897c68bbee98e 100644 (file)
@@ -3099,7 +3099,7 @@ test "${exec_prefix}" != NONE &&
 # the C preprocessor to some helpful value like 1, or maybe the empty
 # string.  Needless to say consequent macro substitutions are less
 # than conducive to the makefile finding the correct directory.
-[cpp_undefs="`echo $srcdir $configuration $canonical unix |
+[cpp_undefs="`echo $srcdir $configuration $canonical unix i386 |
   sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/  *$//' \
   -e 's/  */ -U/g' -e 's/-U[0-9][^ ]*//g'`"]